* {
    overflow: auto;
}

body {
    background-color: #8BA1BB;
    font-family: Arial;
    margin : 0 0 0 0; 
}

div.block {
    background-color: white;
    margin : 40px 3% 60px 3%;
    padding: 0 10px 10px 10px;
    box-shadow: 0 0 8px 8px rgba(0, 0, 0, 0.104);
    overflow: visible;
}        

.center {
    text-align: center;   
    width: 100%;         
    /*background-color: blue;*/
}         

p.recette {
    font-weight: bold;
    font-size: 18px;
    background-color: black;
    color: white;
    display: inline-block;
    margin : -20px 0 0 0;  
    padding: 10px 18px;        
}

h1 {
    text-align: center;
    font-size: 2em;
    margin : 15px 0 15px 0;
}

p.gateau {
    font-size: 16px;
    max-width: 400px;
    display: inline-block; 
    margin : 20px 0 20px 0;            
}    

div.line {
    background-color: black;
    display: block;
    width: 15%;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
}

div.recette {  
    margin : 0 0 0 0;  
    overflow: visible;                    
}

div.position {
    position: relative;
}

table.position {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #6C829DC0;
    color: white;
    height: 50px;
}

table.position td {
    text-align: center;
    font-size: 12px;    
}

table.position th {
    font-size: 14px;    
}

img.position{
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    min-height: 200px;
    background-color: lightgray;
}

div.liste{
    width: 100%;
    margin: 5px 0 0 0;
}

div.liste h2{
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    border-bottom: 5px solid #6C829D;
}

div.ingredients{
    display: inline-block;
}

div.panier p{
    text-align: center;
    border: 2px solid #6C829D;
    margin: 3px 0;
    padding: 5px 0;
}

div.preparation p.numero{
    background-color: #6C829D;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    padding-top: 3px;
    box-sizing: border-box;
    margin: 0 ;
}

div.preparation td{
vertical-align: top;
}

div.preparation td.etape{
padding: 3px 0 3px 10px;
}

div.preparation tr{
height: 25px;
}

/* Styles pour ordinateur */

@media only screen and (min-width: 768px) {
div.block {
    margin : 60px 10% 80px 10%;
    padding: 0 30px 30px 30px;
    min-width: 350px;
}  

table.position {
    height: 60px;
}

table.position td {
    font-size: 14px;    
}

table.position th {
    font-size: 16px;    
}

div.liste{
    width: 45%;
    margin: 20px 0 0 0;
}
 
div.ingredients{
    margin-right: 10%;
}

div.preparation{
    float: right;
}

div.preparation p.numero{
    width: 25px;
    height: 25px;
    font-size: 14px;
    padding-top: 5px;
}

div.preparation td.etape{
padding: 0 0 10px 10px;
}

div.preparation tr{
height: 40px;
}

}

/* @media only screen and (min-width: 900px) {
div.block {
    margin-left: auto;
    margin-right: auto;
    width: 645px;
}  

} */